package com.ntschy.bt.entity.dto.BtHelpDTO.overviewDTO;

import com.ntschy.bt.entity.enums.BtHelpHelpTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author CM
 */
@Data
@ToString(callSuper = true)
@ApiModel(description = "修改求助DTO")
public class BtHelpOveriewAmendDTO {

    /**
     * 主键ID
     */
    @NotBlank(message = "主键ID不能为空")
    @ApiModelProperty(value = "主键ID")
    @Length(min = 36, max = 36, message = "供需超市ID长度不合法")
    private String id;


    /**
     * 求助类型
     */
    @NotNull(message = "求助类型不能为空")
    @ApiModelProperty(value = "求助类型：1 .项目建设-环评 2：项目建设-租赁企业入园申请 3:项目建设-技改申请备案4 :安全生产、5：要素保障 6 ：用工资金")
    private BtHelpHelpTypeEnum helpType;


    /**
     * 问题和诉求描述
     */
    @NotNull(message = "问题和诉求描述不能为空")
    @ApiModelProperty(value = "问题和诉求描述")
    private String queDes;

}
